package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.dto.SkuDTO;
import com.leyou.dto.SpuDTO;
import com.leyou.entity.Sku;
import com.leyou.entity.Spu;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface SpuService extends IService<Spu> {
    PageDTO<SpuDTO> queryBypage(Integer brandId, Integer categoryId, Integer id, Integer page, Integer rows, Boolean saleable);

    void inputcategory(SpuDTO spuDTO);

    void updatecatestatus(Long id, Boolean saleable);

    SpuDTO queryBypathId(Long id);

    void updateCategory(SpuDTO spuDTO);

}
